package com.itheima.daimakuai;

public class Test02 {
    public static void main(String[] args) {
        Student stu1 = new Student();
        Student stu2 = new Student(10);
    }
}

class Student{
    {
        System.out.println("好好学习");
    }
    public Student(){
        System.out.println("无参数");
    }
    public Student(int a){
        System.out.println("有参数");
    }
}
